package com.kx.yooli.kx.wechat.entity.message;

import com.kx.yooli.kx.wechat.base.enums.OperationResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create Message by john_sqwen
 * and  value is
 */
public class Message {
    private final Logger log = LoggerFactory.getLogger(Message.class);
    private OperationResult result;
    private String message;
    private Object data;
    private String codes;
    public OperationResult getResult() {
        return result;
    }
    public void setResult(OperationResult result) {
        this.result = result;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
    public Object getData() {
        return data;
    }
    public void setData(Object data) {
        this.data = data;
    }
    public String getCodes() {
        return codes;
    }
    public void setCodes(String codes) {
        this.codes = codes;
    }

    public Message() {
    }

    public Message(OperationResult result, String message, Object data, String codes) {
        this.result = result;
        this.message = message;
        this.data = data;
        this.codes = codes;
    }
}
